package com.achao.backstagemanage.service.impl;

import com.achao.backstagemanage.dao.MusicCollectDao;
import com.achao.backstagemanage.service.MusicCollectService;
import com.achao.basecommon.entity.MusicCollectDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 描述：收藏夹-业务层实现类
 *
 * @Author：yangchao
 * @CreateDate：2023/2/9 21:27
 */
@Service
public class MusicCollectServiceImpl implements MusicCollectService {

    @Autowired
    private MusicCollectDao musicCollectDao;

    /**
     *  描述：查询-All收藏夹列表
     *      @Param：null
     *      @Returen：List<MusicCollectDO>
     */
    @Override
    public List<MusicCollectDO> queryAllCollects() {
        return musicCollectDao.queryAllCollects();
    }
}
